// +----------------------------------------------------------------------
// | CodeEngine
// +----------------------------------------------------------------------
// | Copyright 艾邦
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: TaoGe <liangtao.gz@foxmail.com>
// +----------------------------------------------------------------------
// | Version: 2.0 2019-08-30 10:27
// +----------------------------------------------------------------------
'use strict';

// 终端名称
export const terminal = 'app';

// 接口版本
export const version = 'v1';

// AppId
export const appId = 'Oa04481754aa31059f';

// APP秘钥
export const appSecret = 'd6d91e5cef748068d8f110cc80e33e9e';

// 主机域名
export const domain = 'lthink.cn';

// 传输协议,可选http https
export const transferProtocol = 'https';

// 应用程序接口地址
export const host = transferProtocol + '://' + domain + '/api/';

// 接口是否签名加密
export const isSign = true;

// Referer校验
export const referer = domain;

// 是否超时验证
export const timesOut = 60;

// state防止CSRF
export const state = true;

// 通信秘钥
export const key = 'Taoge出品,必属精品';

// 加密方式（MD5/SHA256）
export const signType = 'md5';

// RSA密钥
export const rsaCert = {
	private_key: '-----BEGIN PRIVATE KEY-----' +
		'MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBANe2Zun/HERxhV2v' +
		'TrlnxPMiMYQ1qFH0DQrIPZviD4W/SBTZQFUvSI/Uhmy8GE1F4ss8jPm9ifhjKOax' +
		'ophDarekVw6mv4SMam4YIfX607Ny+lb8wOpInuyX4mbkjKF3hZg4Df1ffMHluyuG' +
		'HKLnb7jf5tmPDUnCqf0zAU38wBrvAgMBAAECgYASL3FrprMmXf+lT0MuxD3JVYeh' +
		'Irjm99ElqI3xF1TBrMeR4mLXC55tabhPcGgIE60z/w3PfBgmlY18LVuMxJo5a2iB' +
		'rxPQ8DXOyWTSI8ITEI0sPd9ZZ1ZXzX5H3zoy91sATNHHRKTiKoN9/j8WBabEXQuT' +
		'6OXB3vCeXMSq+hu1KQJBAP1Mu7+XxCYkSHCDA1MG3snytePV42LbvngJ7a/fkkmt' +
		'942uOJZVtfi09Jxj1b18vW6/3saCDr3mCGOI0tewpuMCQQDaAxdhx8qXiiqyKDaa' +
		'Ezi261QKV3ALuO8GIDqtMIxxWoob2DBbDc2KcIeMNumUTCE2ri/Qk0HYB5dVyz8y' +
		'pq2FAkAMWj2drk0GfyZ5NipnViJvPsLYBYo9O/Ih8HoC5ahAp5c29ZQU4MErC8gS' +
		'CFxYDUk/qWO30ofdguZN1FJT6m15AkEAjE9/BfRzA/LtpbnR4nnKf5eXgAxkVXcR' +
		'huzJNtvPF8lAp8kM3h1VEut3oZtZ25LfsXSL235a2zGPia0EoJG7jQJAWV4TwIej' +
		'cr8UI/7tE8/RZbgRTCR2/1VpT1z3jCkIqOSrrZisxwE633EhnwLLxGJKe012QzEF' +
		'3LJl398zOzO4Wg==' +
		'-----END PRIVATE KEY-----',
	public_key: '-----BEGIN PUBLIC KEY-----' +
		'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDXtmbp/xxEcYVdr065Z8TzIjGE' +
		'NahR9A0KyD2b4g+Fv0gU2UBVL0iP1IZsvBhNReLLPIz5vYn4YyjmsaKYQ2q3pFcO' +
		'pr+EjGpuGCH1+tOzcvpW/MDqSJ7sl+Jm5Iyhd4WYOA39X3zB5bsrhhyi52+43+bZ' +
		'jw1Jwqn9MwFN/MAa7wIDAQAB' +
		'-----END PUBLIC KEY-----'
};
